package com.jz.learning.demo.DEMO_03.pojo;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ServiceA {
	Log log = LogFactory.getLog(com.jz.learning.demo.DEMO_03.pojo.ServiceA.class.getName());

	@Autowired
	private ServiceB serviceB;

	public ServiceA(){
		log.info("serviceA created");
	}

	public void showA(){
		log.info("show A");
	}
}
